package com.goods.business.service;

import com.goods.common.model.business.Product;
import com.goods.common.vo.business.ProductVO;
import com.goods.common.vo.system.PageVO;

public interface ProductService {
    PageVO<Product> findProductList(Integer pageNum, Integer pageSize, ProductVO productVO);

    void add(Product product);

    Product edit(Long id);

    void update(ProductVO productVO);

    void remove(Long id);

    void back(Long id);

    void delete(Long id);

    void publish(Long id);

    PageVO<Product> findProducts(Integer pageNum, Integer pageSize);
}
